<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<jsp:include page="header.jsp"></jsp:include>
<title>账户信息</title>
</head>
<body>
 <div class="J-header"></div>
            <div class="wrap">
            	<div class="w member">
            	<div class="breadNavBg">
		            <div class="breadNav pb10">
		                <div><a href="index">首页</a>&nbsp;&gt;&nbsp;</div><a href="member-index.jsp">会员中心</a>&nbsp;&gt;&nbsp;<span>设置中心</span>
		                <div><a>首页</a>&nbsp;&gt;&nbsp;</div><a href="member-index.jsp">会员中心</a>&nbsp;&gt;&nbsp;<span>设置中心</span>

		            </div>
		        </div><!--breadNavBg-->
		        
		         <div class="fl leftmenu">
                      <h3 class="font14"><i class="arr"></i><b>会员中心</b><span>Member Center</span></h3>
                      <ul>
                           <li class="title">采购中心</li>
                           <li><a href="ShowOrderServlet">我的采购单</a></li>
                           <li><a href="ShowMyOrderServlet">取消我的采购单</a></li>
                      </ul>
                      <ul>
                           <li class="title">代理中心</li>
                           <li><a href="member-agent-new.html">我的申请</a></li>
                           <li><a href="member-agent.html">我的代理</a></li>
                      </ul>
                       <ul>
				           <li class="title">关注中心</li>
				           <li><a href="ShowAttentionServlet">我关注的商品</a></li>
				           <li><a href="ShowShopServlet">我关注的店铺</a></li>
				      </ul>
                      <ul>
                           <li class="title">设置中心</li>
                           <li class="active"><a href="AccountServlet">账户信息</a></li>
                           <li><a href="AddressQueryServlet">收货地址</a></li>
                           <li><a href="member-setting-safe.jsp">账号安全</a></li>
                      </ul>
                </div><!--leftmenu end-->
		        <!-- 右侧内容 -->
		        <div class="fr mem-con">
		        	<h2>账户信息</h2>
		        	<div class="mem-set-safe">
		        		<div class="safe-item">
							<span class="label">用户名：</span>
							<div class="fl">
								<p>${loginUser.nickname }</p>
							</div>
						</div>
					<form action="AccountUpdateServlet" method="post" enctype="multipart/form-data"> 
						<c:forEach items="${data }" var="d">
						<div class="safe-item">
							<span class="label">企业名称：</span>
							<div class="fl">
								<input type="text" class="itext"  value="${d.aname }"/>
							</div>
						</div>
						<div class="safe-item">
							<span class="label">企业服务：</span>
							<div class="fl">
								<textarea class="textA" value="">${d.serve }</textarea>
							</div>
						</div>
						
						<div class="safe-item">
							<span class="label">营业执照：</span>
							<div class="fl">
								<div class="reg-file">
									<input type="file" class="ifile" name="firmservice"/>
									<div class="false-file"><img class="img" src="${d.firmservice }"/></div>
								</div>
								<span class="zhic"><a href="#">修改</a></span>
							</div>
						</div>
						<div class="safe-item">
							<span class="label">GSP认证：</span>
							<div class="fl">
								<div class="reg-file">
									<input type="file" class="ifile" name="gsp"/>
									<div class="false-file"><img class="img" src="${d.gsp }"/></div>
								</div>
								<span class="zhic"><a href="#">修改</a></span>
							</div>
						</div>
						
						<div class="safe-item">
							<span class="label">联系人：</span>
							<div class="fl">
								<input type="text" class="itext" value="${d.linkman }"/>
							</div>
						</div>
						<div class="safe-item">
							<span class="label">验证手机：</span>
							<div class="fl">
								<input type="text" class="itext" value="${d.phone }"/>
							</div>
						</div>
						<div class="safe-item">
							<span class="label">邮箱：</span>
							<div class="fl">
								<input type="text" class="itext" value="${d.email }"/>
							</div>
							<div class="tixing">
								<p>用来接收订单提醒邮件，便于您及时了解订单状况</p>
							</div>
						</div>
						
						<div class="safe-item">
							<span class="label">企业地址：</span>
							<div class="fl">
								<span>

								<span>

									<select name="city" class="selt selt-s">

										<option value="0">请选择</option>

										<option value="1" selected>北京</option>

										<option value="2">上海</option>

										<option value="3">河北</option>

									</select>

								</span>
							<span>

									<select name="city" class="selt selt-shi">

										<option value="0">请选择市</option>

										<option value="1" selected>海淀区</option>

										<option value="2">上海</option>

										<option value="3">河北</option>

									</select>

								</span>
							<span>

									<select name="city" class="selt selt-x">

										<option value="0">请选择县</option>

										<option value="1" selected>3-4换之间</option>

										<option value="2">上海</option>

										<option value="3">河北</option>

									</select>

								</span>
							</span>
							</div>
						</div>
						<div class="safe-item">
							<span class="label">详细地址：</span>
							<div class="fl">
								<input type="text" class="itext" value="${d.address }"/>
							</div>
						</div>
						<div class="safe-item">
							<span class="label">拥有人：</span>
							<div class="fl">
								<input type="text" class="itext" value="${d.owner }"/>
							</div>
						</div>
						<div class="safe-item">
							<span class="label"></span>
							<div class="fl">
								<input type="submit" value="保存">
							</div>
						</div>
		        	</c:forEach>
		        </form>
		        	</div>
		        </div>
		        <div class="clearfix"></div>
            	</div>
	        </div>
	           
   
      <iframe src="footer.jsp" frameborder="0" width="100%" height="462" scrolling="no"></iframe>
</body>
</html>